<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../css/app.css" />
		<style>
			.mui-bar a {
				color: #fff;
			}
			
			.mui-content img {
				width: 100%;
			}
			
			.explain {}
			
			.footer {
				width: 100%;
				height: 3rem;
				position: fixed;
				bottom: 0;
			}
			
			.footer div {
				height: 3rem;
				float: left;
				text-align: center;
				height: 100%;
				background-color: #257B00;
				position: relative;
				margin: 1.5rem auto;
			}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">产品列表</h1>
		</header>
		<!--<div class="mui-content">
			<img src="../images/banner1.png" />
			<div class="mui-card">
				<div class="mui-card-content">
					<div class="mui-card-content-inner">
						<span>礼盒装人身</span>
						<br />
				<span>￥400</span>
					</div>
				</div>
			</div>
			<div class="mui-card">
				<span>请选择数量</span>
				<br />
				<div class="mui-numbox">
					<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
					<input class="mui-input-numbox" type="number" />
					<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
				</div>
			</div>
			 
			<div class="mui-card">
				<div>商品详情</div>
				<div ></div>
			</div>
			<div class="footer">
				<div style="width: 40%;">商品详情</div>
				<div style="width: 60%;">信用购买</div>
			</div>
		</div>-->
		<p>获取产品详情</p>
		<button class="detail">详情</button>
		<p>信用购</p>
		<button class="detail0">信用购</button>
		<p>直接购</p>
		<button class="detail1">直接购</button>
		<script type="text/javascript" src="../lib/jquery-1.11.0.js"></script>
		<script src="../lib/mui.min.js"></script>
		<script type="text/javascript" src="../lib/service.js"></script>
		<script type="text/javascript" src="product.js"></script>
		<script type="text/javascript">
			mui.init()
			mui.plusReady(function() {
				var str = plus.webview.currentWebview().parms;
				console.log(str)
				getServer('app/applyDetail', $.param({goodId:JSON.parse(str).id}), function(res) {
					console.log(JSON.stringify(res))
					//				console.log(res.data.code)
				});
			})
		</script>
	</body>

</html>